package com.smart.buss.service.impl;

import com.smart.buss.dao.BussChannelMapper;
import com.smart.buss.service.BussChannelService;
import com.smart.buss.vo.BussChannel;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class BussChannelServiceImpl implements BussChannelService {

	@Resource
	private BussChannelMapper bussChannelMapper;

	@Override
	public BussChannel queryObject(BussChannel entity) throws Exception {
		return bussChannelMapper.queryObject(entity);
	}

	@Override
	public List<BussChannel> queryList(BussChannel entity) throws Exception {
		return bussChannelMapper.queryList(entity);
	}

	@Override
	public List<BussChannel> queryListByPage(BussChannel entity) throws Exception {
		return bussChannelMapper.queryListByPage(entity);
	}

	@Override
	public Integer queryCount(BussChannel entity) throws Exception {
		return bussChannelMapper.queryCount(entity);
	}

	@Override
	public Integer insert(BussChannel entity) throws Exception {
		return bussChannelMapper.insert(entity);
	}

	@Override
	public Integer update(BussChannel entity) throws Exception {
		return bussChannelMapper.update(entity);
	}

	@Override
	public Integer delete(String id) throws Exception {
		return bussChannelMapper.delete(id);
	}
}
